package com.starblink.android.basic.sensorsdata.room.entity

import com.benasher44.uuid.uuid4
import com.starblink.android.basic.sensorsdata.spm.event.TrackEvent

/**
 * 搬运工
 */
data class SkAntEntity(
    var event: String = TrackEvent.elementClick.value,
    var eventParams: Map<String, String> = mapOf(),
    var spmCnt: String,
    var spmPrev: String? = null, // 事件来源spm
    var traceInfo: String = "",
    var params: Map<String, String> = mapOf(),
    var trackUniqueId: String = uuid4().toString(),
    var businessID:String?=null
) {

    override fun toString(): String {
        return "SkAntEntity( event='$event', eventParams=$eventParams, spmCnt='$spmCnt', traceInfo='$traceInfo', params=$params, trackUniqueId='$trackUniqueId')"
    }

}
